package com.stone.framework.user.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.stone.framework.message.user.PermissionReqBody;
import com.stone.framework.message.user.PermissionResBody;
import com.stone.framework.user.entity.RoleResource;

public interface PermissionService extends IService<RoleResource> {

    PermissionResBody buildTree(Long roleId);

    void save(PermissionReqBody reqBody);

    List<String> queryByUsername(String username);

}
